package com.baike.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 李斌
 * @since 2021-10-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_student")
@ApiModel(value="TbStudent对象", description="")
public class TbStudent implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "学生id")
    @TableId(value = "student_id", type = IdType.AUTO)
    private Long studentId;

    @ApiModelProperty(value = "账号")
    private String studentAccount;

    @ApiModelProperty(value = "密码")
    private String studentPassword;

    @ApiModelProperty(value = "账号昵称")
    private String studentNickName;

    @ApiModelProperty(value = "账号头像")
    private String studentHeadPic;

    @ApiModelProperty(value = "账号 flag")
    private String studentFlag;

    @ApiModelProperty(value = "账号状态 :0,正常 1, 异常")
    private Integer studentStatus;

    @ApiModelProperty(value = "账户余额")
    private Double studentBalance;

    @ApiModelProperty(value = "账号创建时间")
    private Date createTiem;

    @ApiModelProperty(value = "账号最后登录时间")
    private Date lastLoginTime;

    @ApiModelProperty(value = "账号积分")
    private Integer studentPoints;

    @ApiModelProperty(value = "用户姓名")
    private String studentName;

    @ApiModelProperty(value = "用户年龄")
    private String studentAge;

    @ApiModelProperty(value = "用户生日")
    private Date studentBirthday;

    @ApiModelProperty(value = "用户性别 1 男 2 女")
    private Integer studentSex;

    @ApiModelProperty(value = "用户手机")
    private String studentPhone;

    @ApiModelProperty(value = "用户邮箱")
    private String studentEmail;

    @ApiModelProperty(value = "加盐")
    private String studentSalt;


}
